
drop if Dstocksize_top3==0 & Dstocksize_low3rd==0
graph hbar (count) firm, over(nacegroup) over(Dstocksize_top3rd, relabel(1 "Small" 2 "Large")) ///
        title("Large vs. Small-Denomination Firms by Industry", span)  ///
        ytitle("Number of firms")  ///
        legend( label(1 "Large") label(2 "Small"))
graph export .\Output\BMO_figureB2.pdf, as(pdf) or(landscape) replace 


